//
//  QLTabPageIndicator.h
//  QLSchool_IOS
//
//  Created by anan on 14-1-15.
//  Copyright (c) 2014年 baobaodev_anan. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "QLViewPager.h"
#import "QLTabPageButton.h"


@class QLViewPager;

/**
 *  ViewPage标题指示器
 */
@interface QLTabPageIndicator : UIScrollView
/**
 *  标题列表
 */
@property (nonatomic,strong) NSMutableArray *titles;
/**
 *  按钮列表
 */
@property (nonatomic,strong) NSMutableArray *tabPageButtons;
/**
 *  title字体
 */
@property (nonatomic,strong) UIFont *textFont;
/**
 *  title字体大小
 */
@property (nonatomic) float textFontSize;

/**
 *  是否透明背影
 */
@property (nonatomic) BOOL isTransparent;

/**
 *  背影色
 */
@property (nonatomic ,weak) UIColor *btn_bg;

/**
 *  水平间距
 */
@property (nonatomic) int paddingHorizontal;
/**
 *  最小宽度
 */
@property (nonatomic) int minWidth;
/**
 *  当前选择位置
 */
@property (nonatomic) int select;
/**
 *  所依附的QLViewPager对象
 */
@property (nonatomic,strong) QLViewPager *viewPager;

@property (nonatomic,strong) UIColor *colorStateNormal;
@property (nonatomic,strong) UIColor *colorStateHighlighted;
@property (nonatomic,strong) UIColor *colorStateSelected;

@property (nonatomic,strong) UIImage *buttonStateNormal;
@property (nonatomic,strong) UIImage *buttonStateHighlighted;
@property (nonatomic,strong) UIImage *buttonStateSelected;




/**
 *  重新装载
 */
- (void)reloadData;

@end
